package cn.iocoder.yudao.module.system.controller.admin.data.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 存储用户健康相关数据，包括体检记录、症状报告、医疗历史等，用于健康分析和医疗服务 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DataRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6673")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "记录时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("记录时间")
    private LocalDate recordTime;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28256")
    @ExcelProperty("用户id")
    private String userId;

    @Schema(description = "心率")
    @ExcelProperty("心率")
    private Integer heartRate;

    @Schema(description = "血氧")
    @ExcelProperty("血氧")
    private Integer oxygenSaturation;

    @Schema(description = "收缩压")
    @ExcelProperty("收缩压")
    private Integer systolicPressure;

    @Schema(description = "舒张压")
    @ExcelProperty("舒张压")
    private Integer diastolicPressure;

    @Schema(description = "肺活量")
    @ExcelProperty("肺活量")
    private Integer vitalCapacity;

    @Schema(description = "握力")
    @ExcelProperty("握力")
    private BigDecimal gripStrength;

    @Schema(description = "呼气酒精")
    @ExcelProperty("呼气酒精")
    private BigDecimal breathAlcohol;

    @Schema(description = "心梗指数")
    @ExcelProperty("心梗指数")
    private BigDecimal heartAttackIndex;

    @Schema(description = "压力指数")
    @ExcelProperty("压力指数")
    private BigDecimal stressIndex;

    @Schema(description = "反应时间")
    @ExcelProperty("反应时间")
    private BigDecimal reactionTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "健康指数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("健康指数")
    private Integer health;

    @Schema(description = "情绪指数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("情绪指数")
    private Integer mood;

    @Schema(description = "疲劳指数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("疲劳指数")
    private Integer fatigue;

    @Schema(description = "综合指数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("综合指数")
    private Integer comprehensive;

    @Schema(description = "优：X≥85；良：68≤X＜85；差：X＜68，1,2,3", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("优：X≥85；良：68≤X＜85；差：X＜68，1,2,3")
    private Integer level;

}